package com.zhixinhuixue.zsyte.xxx.ui.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;

import com.zhixinhuixue.zsyte.xxx.app.base.BaseFragment;
import com.zhixinhuixue.zsyte.xxx.databinding.FragmentLoginBinding;
import com.zhixinhuixue.zsyte.xxx.ui.activity.HomeActivity;
import com.zhixinhuixue.zsyte.xxx.ui.viewmodel.LoginsViewModel;

public class LoginFragment extends BaseFragment<LoginsViewModel, FragmentLoginBinding>{

    @Override
    public void initView(@Nullable Bundle savedInstanceState) {
      mDataBind.butLogin.setOnClickListener(v -> {
          startActivity(new Intent(mActivity, HomeActivity.class));
      });
    }
}
